//
// Created by liushuai on 2021/2/27.
//

#include "constructRectangle.h"

vector<int> constructRectangle(int area) {
    int sqrt_value = std::sqrt(area);
    while (area % sqrt_value != 0)
        sqrt_value--;
    return {area / sqrt_value, sqrt_value};
}